﻿<views:MvxWpfView 
	x:Class="Sidvall.IdentityManager.UI.Wpf.Views.DashboardView"
	xmlns:Controls="clr-namespace:Sidvall.IdentityManager.UI.Wpf.Controls" 
	xmlns:views="clr-namespace:MvvmCross.Wpf.Views;assembly=MvvmCross.Wpf"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
	xmlns:vms="clr-namespace:Sidvall.IdentityManager.UI.ViewModels;assembly=Sidvall.IdentityManager.UI"
	mc:Ignorable="d" 
	d:DesignHeight="400" d:DesignWidth="800">

	<Grid d:DataContext="{d:DesignInstance IsDesignTimeCreatable=True, Type={x:Type vms:DashboardViewModel}}">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto" />
			<RowDefinition/>
		</Grid.RowDefinitions>

		<Controls:HeaderControl HeaderCaption="Shortcuts" />

		<Grid Grid.Row="1">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="10" />
				<ColumnDefinition Width="0.3*" />
				<ColumnDefinition Width="10" />
				<ColumnDefinition Width="0.3*" />
				<ColumnDefinition Width="10" />
				<ColumnDefinition Width="0.3*" />
				<ColumnDefinition Width="10" />
			</Grid.ColumnDefinitions>

			<Grid Grid.Column="1">
				<Grid.RowDefinitions>
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
				</Grid.RowDefinitions>

				<StackPanel Grid.Row="1">
					<TextBlock FontWeight="Bold" TextWrapping="Wrap">Users</TextBlock>
					<Button Content="{Binding UserCount}" Command="{Binding ShowUsersCommand}" />
					<Button Command="{Binding NewUserCommand}">New...</Button>
				</StackPanel>
			</Grid>

			<Grid Grid.Column="3">
				<Grid.RowDefinitions>
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
					<RowDefinition Height="Auto" />
					<RowDefinition Height="20" />
				</Grid.RowDefinitions>

			</Grid>
		</Grid>
	</Grid>
</views:MvxWpfView>
